package io.finer.erp.jeecg.bas.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: PDA物料盘点记录
 * @Author: jeecg-boot
 * @Date:   2021-05-11
 * @Version: V1.0
 */
@Data
@TableName("bas_material_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bas_material_log对象", description="PDA物料盘点记录")
public class BasMaterialLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**盘点单*/
    @ApiModelProperty(value = "盘点单")
    private java.lang.String sheetId;
	/**物料*/
    @ApiModelProperty(value = "物料")
    private java.lang.String materialId;
	/**物料名称*/
	@Excel(name = "物料名称", width = 30)
    @ApiModelProperty(value = "物料名称")
    private java.lang.String name;
	/**物料编码*/
	@Excel(name = "物料编码", width = 20)
    @ApiModelProperty(value = "物料编码")
    private java.lang.String code;
	/**物料宽度*/
	@Excel(name = "宽", width = 15)
    @ApiModelProperty(value = "宽")
    private java.math.BigDecimal width;
	/**物料长度*/
	@Excel(name = "长", width = 15)
    @ApiModelProperty(value = "长")
    private java.math.BigDecimal length;
	/**物料数量*/
	@Excel(name = "物料数量", width = 15)
    @ApiModelProperty(value = "物料数量")
    private java.math.BigDecimal quantity;
	/**计量单位*/
	@Excel(name = "单位", width = 15, dictTable = "bas_measure_unit", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_measure_unit", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "计量单位")
    private java.lang.String unitId;
	/**规格型号*/
//	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private java.lang.String model;
	/**销售价格*/
//	@Excel(name = "销售价格", width = 15)
    @ApiModelProperty(value = "销售价格")
    private java.math.BigDecimal salePrice;
	/**物料分类*/
//	@Excel(name = "物料分类", width = 15, dictTable = "bas_material_category", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_material_category", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "物料分类")
    private java.lang.String categoryId;
	/**税控编码*/
//	@Excel(name = "税控编码", width = 15)
    @ApiModelProperty(value = "税控编码")
    private java.lang.String taxCode;
	/**编码条码图片位置*/
//	@Excel(name = "编码条码图片位置", width = 15)
    @ApiModelProperty(value = "编码条码图片位置")
    private java.lang.String codeImg;
	/**供应商*/
	@Excel(name = "供应商", width = 30, dictTable = "bas_supplier", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_supplier", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "供应商")
    private java.lang.String supplier;
	/**物料平方*/
//	@Excel(name = "物料平方", width = 15)
    @ApiModelProperty(value = "物料平方")
    private java.math.BigDecimal square;
	/**父级物料*/
//	@Excel(name = "父级物料", width = 15)
    @ApiModelProperty(value = "父级物料")
    private java.lang.String pid;
	/**配方*/
//	@Excel(name = "配方", width = 15, dictTable = "bas_product_formula", dicText = "pf_name", dicCode = "id")
    @ApiModelProperty(value = "配方")
	@Dict(dictTable = "bas_product_formula", dicText = "pf_name", dicCode = "id")
    private java.lang.String formulaId;
	/**副数量*/
//	@Excel(name = "副数量", width = 15)
    @ApiModelProperty(value = "副数量")
    private java.math.BigDecimal viceQuantity;
	/**客户*/
	@Excel(name = "客户", width = 30, dictTable = "bas_customer", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_customer", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "客户")
    private java.lang.String customerId;
	/**备注*/
	@Excel(name = "备注", width = 25)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}
